#include <stdio.h>

int main(){
    char ch;
    while ((ch = getchar()) != '\n'){
        printf("%c", ch ^ 15);
    }
    return 0;

}